package com.example.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.github.pagehelper.PageInterceptor;

@Configuration
public class MPConfig {
	
	/*@Bean
	public PaginationInterceptor paginationInterceptor() {
		return new PaginationInterceptor().setDialectType("mysql");
	}*/
	
	@Bean
	public PageInterceptor pageInterceptor() {
		return new PageInterceptor();
	}
}
